Hello!
This is really one extraordinary module, and thanks Stella for it, especially BIG thanks for new version! :)
Unfortunately, something is not working at my Drupal installation (6.9 at the moment).
After upgrading to version 6.x-1.9 (from version 1.8), lightvideo component is not working anymore.
This is HTML code before upgrade:
<a href="/sites/default/files/flash/X/Y/RSS-feeds-RSS-Popper.swf" title="RSS Popper tutorial" rel="lightvideo[width:1050px; height:816px;]">tutorial</a>
and this is after upgrade:
<a href="/sites/default/files/flash/X/Y/RSS-feeds-RSS-Popper.swf" title="RSS Popper tutorial" rel="lightvideo[|width:1050px; height:816px;][]">tutorial</a>
I did everything like it is documented @ Lightbox2 - How to display video content.
I even tried all variants, but none is showing results.
So, what exactly is happening?
Before upgrade everything was fine: after clicking on link tutorial Lightbox2 opened RSS-feeds-RSS-Popper.swf file in javascript box.
After upgrade, I can see that box start to opening, but just after that (cca half second later) instead of javascript box, Firefox 3 open RSS-feeds-RSS-Popper.swf file like there are no Lightbox2 magic - in address bar I can see http://www.example.com/sites/default/files/flash/X/Y/RSS-feeds-RSS-Popper.swf, and in front of me is pure Flash movie. :(
Result of clicking on tutorial link is that I go to new page (.swf file in this example). :(
To make sure that this is bug in Lightbox2 (not related to other modules), I even did fresh Drupal 6.9 installation (on same LAMP server), then installed only Lightbox2, in default "Filtered HTML" input format enabled "Lightbox video filter" (and disabled all other filters), and checked "Enable video support" in Lightbox2 Site configuration admin page. After creating Page node with only early mentioned code (<a href="/sites/default/files/RSS-feeds-RSS-Popper.swf" title="RSS Popper tutorial" rel="lightvideo[|width:1050px; height:816px;][]">tutorial</a>), I got same issue. :(
This problem is persistent in Firefox3, Google Chrome and IE7.
I went to Lightbox2 admin page to check that I have enabled video support, and then I discovered some new configuration options, but, "Enable video support" was enabled (although I don't have any player.swf, but this problem I will report in another issue).
Please, can you check and see what is wrong?
Unfortunately my website is behind corporate firewall...but I'll be more than happy to provide any info that is needed for debugging this nasty issue.
Tnx in advance.
Comments
Comment #1
stella commentedUnless this is a video provided by youTube, GoogleVideo, etc, you will need to configure the path to your player.swf I imagine this is the problem. Don't forget to include the leading /.
However, this does sound familiar to another issue open, see #357318: Lightbox does not load flv player after upgrade - so perhaps see if that solutions works for you either.
Cheers,
Stella
Comment #2
izkreny commentedHm, I don't think that this is problem, because, everything is fine in 6.x-1.8 version (without any "player.swf"). You can see by yourself here.
Unlike in example above, in version 6.x-1.9 (with JW FLV Player v4.3 and "&" flashvar) I get this.
.swf files that I want to play have already incorporated player in themselves, and I really don't need to have player.swf to be able to play them properly. I only need lightbox2 javascript box with proper dimensions that can host .swf file, like lightvideo did in 1.8 version.
Is this possible to have in new 1.9 version, pretty please? :)
Or, is there actually real BUG in 1.8 version, BUG that is making possible to play .swf files without "player.swf"? ;)
P.S.
If it is needed, I can provide you Administrator username and password for those two sites whose links I provided here.
Edit: P.S. #2
I almost forgot, tnx for so fast reply on this issue yesterday! :)
Comment #3
stella commentedHow lightvideo stuff works in the newest release has changed. As you may have noticed there is the addition of flashvars, etc. So the player is required in the majority of cases.
Perhaps send me a link to the site, and I'll take a look.
Comment #4
stella commentedComment #5
silkyD commentedI'm getting EXACTLY the same problem. When the video opens, the screen dims, the lightbox looks as if it is grabbing the content, then the page goes to the original source file, as if light box was never enabled.
Comment #6
iztok commentedSame here.
As it looks its trying to include swf video in flv player. But swfs stand alone and are not included.
Comment #7
Drandarian Grey commentedWell, do not use just player.swf for some odd reason nothing likes it that way. At least anyway that I have tried.
(checked)Enable video support
By default, video support is disabled in order to reduce the amount of javascript needed. Checking this box will enable it.
Path to FLV Player:/mainpath/flvplayer.swf The path to the FLV player, relative to Drupal root directory.
FLV Player flashvars:playerMode=normal Flashvars for the FLV Player where supported, e.g. "autoplay=1&playerMode=normal".
Make sure you have something in the flashvars or it does not work properly.
Finally after a lot of mucking about got it working finally.
Comment #8
marvil07 commentedI'm just trying to do the same on code, but can not find a way to play a swf, since video option set a flvplayer.
Well, I use an iframe directly, and it works:
<a href="/pathto/test.swf" rel="lightframe">the help</a>Comment #9
Yuki commentedsubscribed
Comment #10
stella commentedI think I've fixed this in latest dev. I don't have enough test cases to be totally confident though, so please test latest dev version.
Comment #11
ethantI'm not having success with latest dev or the prior day's release. Followed the instructions, and the lightbox opens, but no video.
Comment #12
stella commentedensure you've removed any leading slashes from flv player path.